package com.iminutes.controller;

import com.iminutes.service.UserService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Description TODO
 * @Author liyuhua
 * @Date 2021/8/5 11:51
 **/
public class IndexController {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        UserService us = (UserService)context.getBean("userService");
        us.save();
    }
}
